var markdowntext;
axios.get("a.do").then(resp => {
    console.log(resp);
    markdowntext = resp.data;
    // alert(resp)
    // alert(markdowntext)
})
$(function () {
    var testView = editormd.markdownToHTML("test-markdown-view", {
        markdown: markdowntext, // Also, you can dynamic set Markdown text
        // htmlDecode : true,  // Enable / disable HTML tag encode.
        // htmlDecode : "style,script,iframe",  // Note: If enabled, you should filter some dangerous HTML tags for website security.
    });
});

new Vue({
    data() {
        return {
            text: null, centerDialogVisible: false
        }
    }, methods: {}
}).$mount("#app");